package com.hqyj.base.mapper;

import com.hqyj.base.model.InfoUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InfoUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(InfoUser record);

    int insertSelective(InfoUser record);

    InfoUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(InfoUser record);

    int updateByPrimaryKey(InfoUser record);

    /*查询所有的InfoUser*/
    List<InfoUser> queryAllByInfoUser();

    /*根据Id查询InfoUser*/
    InfoUser queryInfoUserById(int urlId);

    /*对InfoUser表全部字段进行模糊查询*/
    List<InfoUser> queryFuzzy(String keyword);
}